package com.example.stu1.feedback.service;

import com.example.stu1.feedback.dao.FeedbackMapper;
import com.example.stu1.feedback.pojo.Feedback;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;

@Service
public class FeedbackService {
    @Resource
    private FeedbackMapper mapper;

    public void add(Feedback feedback) { mapper.add(feedback); }

    public void update(Integer feedbackId) { mapper.update(feedbackId); }

    public ArrayList<Feedback> query(Integer feedbackCh) { return mapper.query(feedbackCh); }
}
